import 'package:flutter/material.dart';
import 'package:mall/gen/r.dart';
import 'package:mall/utils/image_component/image_component.dart';

class PlaceholderInAddressWidget extends StatelessWidget {
  const PlaceholderInAddressWidget({
    super.key,
  });

  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.only(left: 30, right: 30),
      child: Center(
        child: Column(
          mainAxisSize: MainAxisSize.min,
          children: [
            //图片
            ImageComponent(R.image.placeholderAddress.path, width: 173, height: 118),
            SizedBox(height: 50),
            Text('您还没有添加收货地址', style: TextStyle(color: Color(0xff27314A), fontSize: 16)),
            SizedBox(height: 10),
            Text(
              '请您及时填写收货信息，商品才会第一时间 送达哦!',
              style: TextStyle(color: Color(0xff7C8298), fontSize: 12),
              maxLines: 2,
              overflow: TextOverflow.ellipsis,
            ),
          ],
        ),
      ),
    );
  }
}
